package com.example.sbbsec.domain.common;


import com.google.common.base.MoreObjects;
import lombok.Getter;
import lombok.Setter;

import java.util.Map;

/**
 * Created by jeff.Zhou on 7/23/2018.
 * 通用返回信息
 */
@Getter
@Setter
public class ReturnInfo {
    private String returnCode;
    private String returnMsg;
    private Map<String, Object> returnMap;
    private Boolean result;

    @Override
    public String toString() {
        return MoreObjects.toStringHelper(this)
                .add("returnCode", returnCode)
                .add("returnMsg", returnMsg)
                .add("returnMap", returnMap)
                .add("result", result)
                .toString();
    }
}